import AnnouncementInformationComp from "containers/setting/announcement-information/announcement-information";
import NewAnnouncementInformationComp from "containers/setting/announcement-information/announcement-information-detail";
//公告信息
const AnnouncementInformationMenu = {
  key: 'announcement-information',
  url: '/main/setting/announcement-information',
  components: AnnouncementInformationComp,
  parent: 'setting',
  fpItem: ["settings.carouselList.disabled"],
  fpValue: [[false,undefined]],
  tenant: true,
  children:{
    //新建公告信息
    newAnnouncementInformation: {
      key: 'new-announcement-information',
      url: '/main/setting/announcement-information/new-announcement-information',
      components: NewAnnouncementInformationComp,
      parent: 'announcement-information'
    },
    //公告信息详情
    announcementInformationDetail: {
      key: 'announcement-information-detail',
      url: '/main/setting/announcement-information/announcement-information-detail/:OID/:id',
      components: NewAnnouncementInformationComp,
      parent: 'announcement-information'
    }
  }
};
export default AnnouncementInformationMenu;
